﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminUserGroup.Set.aspx.cs"
    Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Quan tri he thong</title>
    <link rel="stylesheet" href="assets/css/reset.css" type="text/css" />
    <link rel="stylesheet" href="assets/css/styleexpress.css" type="text/css" />
    <link rel="stylesheet" href="assets/css/invalid.css" type="text/css" media="screen" />
    <script src="assets/js/Admin_002.js" type="text/javascript"></script>
    <script src="assets/js/Admin.js" type="text/javascript"></script>
</head>
<body>
    <div id="body-wrapper">
        <div id="header">
              <!--#include virtual="include/top.ascx"-->
        </div>
        <div id="main-content1">
            <h2>
                Add user into group permission</h2>
            <div class="clear">
            </div>
            <div class="content-box">
                <form id="frmEdit" runat="server">
                <div class="content-box-header">
                    <h3 style="cursor: s-resize;">
                        Username: &nbsp;<%Response.Write(strUserName); %>
                    </h3>
                    <div class="clear">
                    </div>
                </div>
                <fieldset>
                    <asp:Repeater ID="rptData" runat="server">
                        <ItemTemplate>
                            <tr onmouseover="this.style.background='#dbf0c9'" onmouseout="this.style.background='#ffffff'">
                                <td align="center">
                                    <%# DataBinder.Eval(Container.DataItem, "Index")%>
                                    <asp:HiddenField ID="ID" runat="server" Value='<%# DataBinder.Eval(Container.DataItem, "ID")%>'>
                                    </asp:HiddenField>
                                </td>
                                <td align="center">
                                    <%# DataBinder.Eval(Container.DataItem, "GroupName") %>
                                </td>
                                <td align="center">
                                    <%# DataBinder.Eval(Container.DataItem, "GroupUser") %>
                                </td>
                            </tr>
                        </ItemTemplate>
                        <HeaderTemplate>
                            <table class="adminlist" cellspacing="0" cellpadding="0" style="width: 50%; border: 0px;">
                                <thead>
                                    <tr>
                                        <th align="center" width="30px">
                                            Index
                                        </th>
                                        <th align="center">
                                            Group Name
                                        </th>
                                        <th align="center">
                                            In group
                                        </th>
                                    </tr>
                                </thead>
                        </HeaderTemplate>
                        <FooterTemplate>
                            </TABLE>
                        </FooterTemplate>
                    </asp:Repeater>
                </fieldset>
                <div style="margin: 5px;">
                    <asp:Button ID="btnSave" Text="Save" class="button" runat="server" OnClick="btnSave_Click" />
                    &nbsp;<input type="button" id="Back" value="Back" class="button" onclick="window.location.href='AdminUserList.aspx';" />
                    <input type="hidden" id="listObject" name="listObject" runat="server" value="" />
                </div>
                </form>
            </div>
            <div id="footer">
                <%=strPager%>
            </div>
        </div>
    </div>
</body>
</html>
